package com.ruicar.afs.cloud.apply.admin.manage.condition;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruicar.afs.cloud.apply.admin.manage.entity.SysUser;
import com.ruicar.afs.cloud.apply.admin.manage.entity.SysUserRole;
import com.ruicar.afs.cloud.apply.admin.manage.entity.SysUserRoleTemp;
import lombok.Data;

import java.util.List;

/**
 * @author Ice
 * @date 2020/9/10 18:23
 */
@Data
public class ApplyAdminDTO {
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long userId;
    private String status;
    private String businessType;
    private String reason;
    /**
     * 是否一个同意另外一个也通过1：是0：不是
     */
    private String sign;

    private List<SysUserRole>  applyUserRoleList;

    private List<SysUserRoleTemp> applyUserRoleTempList;

    // 姓名
    private String userRealName;
    // 原姓名
    private String formerUserRealName;
    /**
     * 部门id
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long deptId;
    /**
     * 原部门id
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long formerDeptId;
    /**
     * 手机号
     */
    private String phone;
    /**
     * 原手机号
     */
    private String formerPhone;
    /**
     * 邮箱
     */
    private String userEmail;
    /**
     * 原邮箱
     */
    private String formerUserEmail;
}
